package persistence;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the Clients database table.
 * 
 */
@Entity
@Table(name="Clients")
public class Client implements Serializable {
	private static final long serialVersionUID = 1L;
	private int idClients;
	private String type;
	private Set<Clients_has_Firm> clientsHasFirms;

    public Client() {
    }


	@Id
	public int getIdClients() {
		return this.idClients;
	}

	public void setIdClients(int idClients) {
		this.idClients = idClients;
	}


	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}


	//bi-directional many-to-one association to Clients_has_Firm
	@OneToMany(mappedBy="client")
	public Set<Clients_has_Firm> getClientsHasFirms() {
		return this.clientsHasFirms;
	}

	public void setClientsHasFirms(Set<Clients_has_Firm> clientsHasFirms) {
		this.clientsHasFirms = clientsHasFirms;
	}
	
}